<route lang="json5" type="page">
{
    layout: "default",
    style: {
        navigationBarTitleText: "行程详情",
    },
}
</route>

<template>
    <view class="m-base-box m-jouney-detail"></view>
</template>

<script lang="ts" setup>
import { getPlanByIdUsingGet, deletePlanUsingGet } from "@/service/app";
const info = ref<any>({});
function getDetail(id: string) {
    getPlanByIdUsingGet({ params: { id } }).then((res) => {
        console.log(res);
        info.value = res.data;
    });
}
onLoad(() => {
    console.log("onLoad");
    // 1784804518047461378
    getDetail("1784804518047461378");
});
</script>

<style lang="scss" scoped>
//
</style>
